package com.zmm.zebulon.common.util.collection;

import cn.hutool.core.collection.CollUtil;

import java.util.Set;

/**
 * description: Set 工具类
 *
 * @author zebulon
 * package com.zmm.zebulon.common.util.collection
 * name: SetUtils
 * date 2024/1/5 23:52
 */
public class SetUtils {

    @SafeVarargs
    public static <T> Set<T> asSet(T... objs) {
        return CollUtil.newHashSet(objs);
    }
}
